<template>
  <div class="box">
    <div class="box_txt" v-html="details.introduction">

    </div>
  </div>
</template>
<script>
  import taskApi from "../../requestApi/taskApi";
  import {
    Toast
  } from "mint-ui";
  export default {
    components: {},
    data() {
      return {
        details: {}
      };
    },
    created: function () {},
    mounted() {
      let self = this;
      self.baseUserMessageDistributeFun();
      window.getAppgetUserToken = function (val) {
        self.baseUserInfoFun(val);
        self.listFun();
      };
      this.titleFun({
        title: "详情"
      });
    },
    methods: {
      async listFun() {
        let self = this;
        if (this.$route.query.id) {
          let params = {
            id: this.$route.query.id
          };
          let res = await taskApi.GetApiorgorgbuildinginfo(params);
          if (res.statusCode == 200) {
            self.details = {
              ...res.data
            };
          } else {
            Toast({
              message: res.statusMessage,
              position: "bottom"
            });
          }
        }
      }
    },
    filters: {},
    watch: {},
    computed: {}
  };

</script>
<style scoped>
  .box_txt {
    width: calc(100% - 0.5333rem);
    margin-left: 0.2667rem;
    margin-top: 0.56rem;
    margin-bottom: 1.0933rem;
    overflow: hidden;
    font-size: 0.3733rem;
    font-family: MicrosoftYaHei;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
    line-height: 0.5867rem;
  }

  .box {
    background: #fff;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
  }

</style>
